package com.imooc.service;


import com.imooc.bo.UserBO;
import com.imooc.pojo.Users;

/**
 * Created by Administrator on 2020/6/16.
 */
public interface UserService {
    /**
     * 判断用户名是不是存在
     */
    public boolean queryUserNameIsExist(String userName);

    /**
     * 用户注册
     */
    public Users createUser(UserBO userBO);

    /**
     * 用户登录，匹配用户名和密码
     */
    public Users queryUserForLogin(String username ,String password);
}
